#include <iostream>

#include "tcp_server.h"

int main()
{
    std::cout << "hello, this is server" << std::endl;
    net::io_context ioc;
    // tcp_server server(ioc, tcp::endpoint(tcp::v4(), 12345));

    auto server = std::make_shared<tcp_server>(ioc, tcp::endpoint(tcp::v4(), 12345));
    server->start();

    ioc.run();
    return 0;
}
